//
//  read_file.cpp
//  Steady_State_QE
//
//  Created by Duong Ngo on 2/4/17.
//  Copyright © 2017 Duong Ngo. All rights reserved.
//

#include "read_file.hpp"

#include <fstream>

void read_from_file(std::vector<double>& ss)
{
    std::ifstream file;
    file.open("//Users//duongngo//Documents//Research//E-Monetary Theory//Paper_and_code//EMT_V6//C code//Output//EMT_steady_maturity.txt");
    int j;
    file >> j;
    for (int i=0; i<ss.size(); ++i){
        file >> j >> ss[i];
    }
    
}